import type { loginPasswordApi, loginPasswordReq } from '@/types/login'
import request from '@/utils/request'

// 登录接口
export const loginPassword = (data: loginPasswordReq) => {
  return request<loginPasswordApi>({
    url: '/login/password',
    method: 'post',
    data
  })
}
